/* 招聘页面专有样式 */

/* 搜索栏 */
.search-bar {
    padding: 15px;
    background-color: var(--white-color);
    border-radius: 0 0 20px 20px;
    margin-bottom: 15px;
}

.search-input-container {
    position: relative;
}

.search-input {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 20px;
    background-color: var(--light-color);
    padding: 0 40px 0 15px;
    font-size: 14px;
    color: var(--text-color);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    background-color: var(--primary-color);
    font-size: 16px;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.search-tag {
    padding: 4px 12px;
    border-radius: 15px;
    background-color: #f1f1f1;
    color: var(--gray-color);
    margin-right: 10px;
    margin-bottom: 5px;
    font-size: 12px;
}

.search-tag.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* 过滤器 */
.filter-bar {
    display: flex;
    background-color: var(--white-color);
    padding: 12px 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.filter-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
}

.filter-item span {
    font-size: 14px;
    color: var(--text-color);
}

.filter-item i {
    margin-left: 5px;
    font-size: 12px;
    color: var(--gray-color);
}

/* 岗位列表 */
.job-list-container {
    padding: 10px 15px;
    margin-bottom: 15px;
}

.job-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 15px;
}

.job-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.company-logo {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.job-title-container {
    flex: 1;
}

.job-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.job-title .verified {
    color: var(--primary-color);
    margin-left: 5px;
    font-size: 14px;
}

.company-name {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.job-tag {
    display: inline-block;
    padding: 2px 6px;
    background-color: rgba(63, 81, 181, 0.1);
    color: var(--primary-color);
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
}

.job-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.job-salary {
    font-size: 16px;
    font-weight: bold;
    color: var(--danger-color);
    margin-right: 15px;
}

.job-location, .job-education, .job-experience {
    font-size: 13px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    margin-right: 12px;
    margin-bottom: 5px;
}

.job-location i, .job-education i, .job-experience i {
    margin-right: 3px;
    font-size: 14px;
}

.job-highlights {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.highlight-tag {
    font-size: 12px;
    color: var(--gray-color);
    background-color: #f5f5f5;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 8px;
    margin-bottom: 5px;
}

.job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--light-gray);
}

.publish-time {
    font-size: 12px;
    color: var(--gray-color);
}

.job-actions {
    display: flex;
    align-items: center;
}

.job-actions .btn {
    margin-left: 10px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
}

.job-actions .save-btn {
    color: var(--primary-color);
    background-color: rgba(63, 81, 181, 0.1);
}

.job-actions .apply-btn {
    color: var(--white-color);
    background-color: var(--primary-color);
}

/* 校招特色 */
.campus-features {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 15px;
    margin: 0 15px 15px;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    padding: 10px;
    text-align: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(63, 81, 181, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 12px;
    color: var(--text-color);
}

/* 院校选择 */
.school-selection {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 15px;
    margin: 0 15px 15px;
}

.school-list {
    display: flex;
    flex-wrap: wrap;
}

.school-item {
    width: 33.33%;
    padding: 10px;
    text-align: center;
}

.school-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 5px;
}

.school-name {
    font-size: 12px;
    color: var(--text-color);
}

/* 为iPhone 15进行适配 */
@media screen and (width: 390px) and (height: 844px) {
    .search-bar {
        padding-top: calc(15px + var(--iphone-safe-area-top));
    }
    
    .search-input {
        height: 38px;
    }
    
    .search-btn {
        width: 28px;
        height: 28px;
    }
    
    .filter-bar {
        padding: 10px 15px;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
    }
    
    .job-title {
        font-size: 15px;
    }
    
    .company-name {
        font-size: 13px;
    }
    
    .job-salary {
        font-size: 15px;
    }
    
    .job-location, .job-education, .job-experience {
        font-size: 12px;
    }
    
    .highlight-tag {
        font-size: 11px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .feature-icon i {
        font-size: 22px;
    }
    
    .school-logo {
        width: 55px;
        height: 55px;
    }
}

/* 小屏幕设备适配 */
@media (max-width: 320px) {
    .company-logo {
        width: 45px;
        height: 45px;
    }
    
    .job-title {
        font-size: 14px;
    }
    
    .job-salary {
        font-size: 14px;
    }
    
    .feature-item {
        padding: 8px 5px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
    
    .school-logo {
        width: 50px;
        height: 50px;
    }
}

/* 暗黑模式支持 */
@media (prefers-color-scheme: dark) {
    .search-tag {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .highlight-tag {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .job-actions .save-btn {
        background-color: rgba(63, 81, 181, 0.2);
    }
} 